/*
 * @Author: 田鑫
 * @Date: 2023-03-05 18:42:52
 * @LastEditors: 田鑫
 * @LastEditTime: 2023-03-05 19:06:13
 * @Description: 示例api
 */

import Http from '@/api';

export declare namespace IExample {
  interface ITableResponse {
    id: string;
    column1: string;
    column2: string;
    column3: string;
    column4: string;
    column5: string;
  }
}

export const fetchTableData = (params = {}) => {
  return Http.get<IExample.ITableResponse[]>('/api/example-table', params);
};
